package org.jsrml.core.base.qo;

import org.jsrml.common.persistence.BaseQO;
import org.jsrml.common.persistence.query.QueryCondition;
import org.jsrml.common.persistence.query.QueryConditionType;
import org.jsrml.common.persistence.query.QueryConfig;

@SuppressWarnings("serial")
@QueryConfig(daoBeanId = "adminService")
public class AdminQO extends BaseQO<String> {
	
	@QueryCondition(name = "Info.name", type=QueryConditionType.LIKE_ANYWHERE)
	private String name;

	@QueryCondition(name = "desrc",type=QueryConditionType.IS_NOT_NULL)
	private String desrc;
	
	@QueryCondition(name = "status.createDate", type = QueryConditionType.ORDER)
	private Integer orderCreateDate;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDesrc() {
		return desrc;
	}

	public void setDesrc(String desrc) {
		this.desrc = desrc;
	}

	public Integer getOrderCreateDate() {
		return orderCreateDate;
	}

	public void setOrderCreateDate(Integer orderCreateDate) {
		this.orderCreateDate = orderCreateDate;
	}

}
